home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- // MODIFY THIS AT YOUR OWN RISK
- //
- // Creation Date: 13 April 1997
- // Author: gf
- //
- //
- // Procedure Name:
- // DynClipEffectsMenu
- //
- // Description:
- // Create the DYNAMICS->ClipEffects
- //
- // Input Arguments:
- // parent to parent the menu to.
- //
- // Return Value:
- // None.
- //
-
-
- global proc DynClipEffectsMenu( string $parent )
- {
- setParent -m $parent;
- if( `menu -q -ni $parent` != 0 ) {
- //
- // Menu is built already - just return
- //
- return;
- }
-
- menuItem -l "Create Fire"
- -annotation "Create Fire: Create fire effect"
- -c "Fire"
- -dmc "performDynamicsClipEffects Fire 2"
- -i "fire.xpm"
- fireEffectItem;
- menuItem -optionBox true
- -i "fire.xpm"
- -annotation "Create Fire Option Box"
- -l "Create Fire Effect Option Box"
- -c "FireOptions"
- createFireDialogItem;
-
- menuItem -l "Create Smoke"
- -annotation "Create Smoke: Create smoke effect"
- -c "Smoke"
- -dmc "performDynamicsClipEffects Smoke 2"
- -i "smoke.xpm"
- smokeEffectItem;
- menuItem -optionBox true
- -i "smoke.xpm"
- -annotation "Create Smoke Option Box"
- -l "Create Smoke Effect Option Box"
- -c "SmokeOptions"
- createSmokeDialogItem;
-
- menuItem -l "Create Fireworks"
- -annotation "Create Fireworks: Create fireworks effect"
- -c "Fireworks"
- -dmc "performDynamicsClipEffects Fireworks 2"
- -i "fireworks.xpm"
- fireworksEffectItem;
- menuItem -optionBox true // -i "posEmitter.xpm"
- -i "fireworks.xpm"
- -annotation "Create Fireworks Option Box"
- -l "Create Fireworks Effect Option Box"
- -c "FireworksOptions"
- createFireworksDialogItem;
-
- menuItem -l "Create Lightning"
- -annotation "Create Lightning: Create lightning effect"
- -c "Lightning"
- -dmc "performDynamicsClipEffects Lightning 2"
- -i "lightning.xpm"
- lightningEffectItem;
- menuItem -optionBox true
- -i "lightning.xpm"
- -annotation "Create Lightning Option Box"
- -l "Create Lightning Effect Option Box"
- -c "LightningOptions"
- createLightningDialogItem;
-
- menuItem -l "Create Shatter"
- -annotation "Create Shatter: Create shatter effects"
- -c "Shatter"
- -dmc "performDynamicsClipEffects Shatter 2"
- -i "shatter.xpm"
- shatterEffectItem;
- menuItem -optionBox true
- -i "shatter.xpm"
- -annotation "Create Shatter Option Box"
- -l "Shatter Effect Option Box"
- -c "ShatterOptions"
- createShatterDialogItem;
-
- menuItem -l "Create Curve Flow"
- -annotation "Create Flow: Create flow along curves"
- -c "CurveFlow"
- -dmc "performDynamicsClipEffects Flow 2"
- -i "flow.xpm"
- curveFlowEffectItem;
- menuItem -optionBox true
- -i "flow.xpm"
- -annotation "Create Flow Option Box"
- -l "Create Flow Along Curves Effect Option Box"
- -c "CurveFlowOptions"
- createFlowDialogItem;
-
- menuItem -l "Create Surface Flow"
- -annotation "Create Surface Flow: Create flow along surfaces"
- -c "SurfaceFlow"
- -dmc "performDynamicsClipEffects SurfaceFlow 2"
- -i "flowSurface.xpm"
- surfaceFlowEffectItem;
- menuItem -optionBox true
- -i "flowSurface.xpm"
- -annotation "Create Surface Flow Option Box"
- -l "Create Flow Along Surfaces Effect Option Box"
- -c "SurfaceFlowOptions"
- createSurfaceFlowDialogItem;
-
-
- // menuItem -l "Create Melt"
- // -annotation "Melt Effect"
- // -c "performDynamicsClipEffects Melt 0"
- // -dmc "performDynamicsClipEffects Melt 2"
- // // -i "connectField.xpm"
- // meltEffectItem;
- // menuItem -optionBox true // -i "posEmitter.xpm"
- // -annotation "Create Melt Effect Option Box"
- // -l "Create Melt Effect Option Box"
- // -c "performDynamicsClipEffects Melt 1"
- // createMeltDialogItem;
-
- menuItem -d true;
-
- menuItem -l "Delete Surface Flow"
- -annotation "Delete Surface Flow: Delete flow along surfaces"
- -c "DeleteSurfaceFlow"
- -dmc "performDynamicsClipEffects DeleteSurfaceFlow 2"
- -i "flowSurfaceDelete.xpm"
- deleteSurfaceFlowEffectItem;
- menuItem -optionBox true
- -i "flowSurfaceDelete.xpm"
- -annotation "Delete Surface Flow Option Box"
- -l "Delete Flow Along Surfaces Effect Option Box"
- -c "DeleteSurfaceFlowOptions"
- deleteSurfaceFlowDialogItem;
-
- }
-